@prefix-cls: version-collapse;

.overflow() {
  overflow-y: hidden;
  overflow-x: hidden;
}

.displayDirection() {
  display: flex;
  flex-direction: column;
}

.@{prefix-cls} {
  &-row {
    width: 100%;
    height: 100%;
    .overflow();

    &-col {
      width: 100%;
      height: 100%;
      .overflow();

      &-divBox {
        background-color: #ffffff;
        width: 100%;
        height: 100%;
      }
    }
  }

  /**
  * 版本折叠
  */
  &-versionCollapse {
    .ant-collapse-header {
      position: relative;
      padding: 8px 16px !important;
      background: #ffffff !important;
      .ant-collapse-header-text {
        padding-left: 25px;
      }

      .anticon {
        position: absolute;
        font-size: 43px;
        top: 0px;
        left: 0;
        // color: #22ff00;
        color: red;
      }

      .picon {
        display: inline-block;
        width: 0;
        height: 0;
        border-top: 43px solid #868686;
        border-right: 43px solid transparent;
        position: absolute;
        top: 0;
        left: 0;
      }

      .pimg {
        color: #fff;
        text-align: center;
        text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        position: absolute;
        padding: 10px 0;
        left: -2px;
        top: -8px;
        font-size: 16px;
      }
    }
  }

  /**
  * 版本信息样式
  */

  &-versionInformation {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    // position: relative;

    .ant-divider {
      margin: 5px 0px;
      background: #e8e8e8;
    }

    &-title {
      // font-size: 1.5rem;
      // text-align: center;
      font-size: 20px;
    }

    &-titleRightCol {
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      white-space: nowrap;
    }

    &-content {
      color: #989898;
      font-size: 20px;
      padding-left: 10px;
      // padding: 0px 5px;
      // width: 100%;
      // display: flex;
      // justify-content: center;

      // span {
      //   margin-right: 30px;
      // }
    }

    &-contentUser {
      // display: flex;
      // justify-content: flex-end;
      // text-align: right;
      // color: #989898;
      // position: absolute;
      // bottom: 0;
      // right: 0;

      display: flex;
      justify-content: flex-end;
      color: #989898;
    }

    &-scrollBox {
      // width: 100%;
      // height: 100%;
      // flex: auto;
      // overflow: hidden;

      width: 100% !important;
      height: 100% !important;
      overflow: hidden;
    }
  }

  /**
  * 搜索框样式
  */
  &-versionform {
    .ant-form-item {
      margin-bottom: 0;

      .ant-form-item-control-input-content {
        text-align: right;

        .btn-box {
          color: #fff;
          width: auto;
          border-radius: 25px;
          min-width: 50px;
          height: 50px;
          line-height: 50px;
          display: inline-block;
          position: relative;
          overflow: hidden;
          background-image: linear-gradient(315deg, #868686 0, #868686 100%);
          background-size: 104% 104%;
          cursor: pointer;
        }

        .btn-box .searchBtn {
          position: absolute;
          right: 0;
          top: 0;
          width: 50px;
          height: 50px;
          line-height: 50px;
          text-align: center;
          font-size: 18px;
          cursor: pointer;
        }
        .btn-box .reloadBtn {
          position: absolute;
          right: 35px;
          top: 0;
          width: 50px;
          height: 50px;
          line-height: 50px;
          text-align: center;
          font-size: 18px;
          cursor: pointer;
        }

        .btn-box input {
          display: inline-block;
          background: 0 0;
          border: none;
          color: #fff;
          padding-left: 20px;
          line-height: 50px !important;
          height: 50px;
          box-sizing: border-box;
          vertical-align: 4px;
          font-size: 16px;
          width: 50px;
          transition: all 0.3s linear;
          font-style: italic;
          letter-spacing: 2px;
        }

        .btn-box:hover input {
          display: inline-block;
          width: 400px;
          padding-right: 50px;
        }

        // .btn-box input:not(:placeholder-shown) {
        //   display: inline-block;
        //   width: 100%;
        //   padding-right: 50px
        // }
      }
    }
  }
}
